<%-- 
    Document   : user_info
    Created on : 2010-10-28, 18:30:58
    Author     : Kenny Lin
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Wiki - 个人信息</title>
        <link href="${ctx}/templatemo_style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div id="templatemo_wrapper">
            <div id="templatemo_header">
                <c:if test="${sessionScope['kenny.wiki.user'] == null}">
                    <div id="login_flage">
                        <div class="banner">
                            <a href="${ctx}/user/regist.jsp">注册</a>
                        </div>
                        <div class="item"></div>
                        <div class="banner">
                            <a href="${ctx}/user/login.jsp">登录</a>
                        </div>
                    </div>
                </c:if>
                <c:if test="${sessionScope['kenny.wiki.user'] != null}">
                    <div id="login_flage">
                        <div class="banner">
                            <a href="${ctx}/user/secure/my_title">我的词条</a>
                        </div>
                        <div class="item"></div>
                        <div class="banner">
                            <a href="${ctx}/user/secure/add_title.jsp">添加词条</a>
                        </div>
                        <div class="item"></div>
                        <div class="banner">
                            <a href="${ctx}/user/secure/user_info.jsp">个人资料</a>
                        </div>
                        <div class="item"></div>
                        <div class="banner">
                            <a href="${ctx}/user/secure/update_info.jsp">修改资料</a>
                        </div>
                        <div class="item"></div>

                        <div class="banner">
                            <a href="${ctx}/user/logout">退出</a>
                        </div>
                        <div class="banner">
                            你好，${sessionScope['kenny.wiki.user'].userName}!
                        </div>
                    </div>
                </c:if>
                <div id="site_title">
                    <a href="http://www.templatemo.com" target="_parent"><img src="${ctx}/images/wiki_logo.png" alt="css templates" /><span>——全球最大中文百科全书</span></a>
                </div> <!-- end of site_title -->
                <div id="search">
                    <form action="${ctx}/search_title" method="post">
                        <input type="text" size="30" name="title_name"/>
                        <input type="submit" value="进入词条"/>
                    </form>
                </div> 

            </div>

           <div id="templatemo_main_wrapper">
                <div id="login_content">
                    <div id="company_logo"class="image_wrapper fl_img"><img src="${ctx}/images/company_logo.jpg" alt="智云软件" /></div>
                    <div id="login_banner">
                        
                            <p><strong>Kenny Wiki 个人信息</strong></p>
                            用户名：${sessionScope['kenny.wiki.user'].userName}<br>
                            密&nbsp;&nbsp;&nbsp;码：${sessionScope['kenny.wiki.user'].userPwd}<br>
                            性&nbsp;&nbsp;&nbsp;别：${sessionScope['kenny.wiki.user'].userSex}<br>
                            邮&nbsp;&nbsp;&nbsp;箱：${sessionScope['kenny.wiki.user'].userEmail}<br>
                            介&nbsp;&nbsp;&nbsp;绍：${sessionScope['kenny.wiki.user'].userIntro}<br>
                    </div>
                    <div>${requestScope['kenny.wik.update_info.message']}</div>
                </div>
            </div>

            <div id="templatemo_main_bottom"></div>

            <div id="templatemo_footer">
                Copyright © 2010 <a href="#">智云软件</a> |
		Designed by <a href="http://www.templatemo.com" target="_parent">Kenny Lin</a> |
		Validate <a href="http://validator.w3.org/check?uri=referer">XHTML</a> &amp;
                <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
            </div> <!-- end of templatemo_footer -->

            <div class="cleaner"></div>
        </div>
    </body>
</html>
